[INFO] cloning repository https://github.com/swar09/nano-rag
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swar09/nano-rag" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswar09%2Fnano-rag", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswar09%2Fnano-rag'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 340443bef936aedce0f87d8576c61aec86d4670a
[INFO] checking swar09/nano-rag against master#656ccbe796ff98def9b555c118e1620c5389e3b2 for pr-133502-24
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswar09%2Fnano-rag" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/swar09/nano-rag
[INFO] finished tweaking git repo https://github.com/swar09/nano-rag
[INFO] tweaked toml for git repo https://github.com/swar09/nano-rag written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/swar09/nano-rag on toolchain 656ccbe796ff98def9b555c118e1620c5389e3b2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/swar09/nano-rag already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rkyv_derive v0.8.14
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.20.3
[INFO] [stderr]   Downloaded pyo3-macros v0.20.3
[INFO] [stderr]   Downloaded colored_text v0.3.0
[INFO] [stderr]   Downloaded pyo3-build-config v0.20.3
[INFO] [stderr]   Downloaded pyo3-ffi v0.20.3
[INFO] [stderr]   Downloaded rkyv v0.8.14
[INFO] [stderr]   Downloaded pyo3 v0.20.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd
[INFO] running `Command { std: "docker" "start" "f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd" "/opt/rustwide/cargo-home/bin/cargo" "+656ccbe796ff98def9b555c118e1620c5389e3b2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling portable-atomic v1.13.0
[INFO] [stderr]     Checking colored_text v0.3.0
[INFO] [stderr]    Compiling pyo3-build-config v0.20.3
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking ordered-float v5.1.0
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling pyo3-ffi v0.20.3
[INFO] [stderr]    Compiling pyo3 v0.20.3
[INFO] [stderr]    Compiling pyo3-macros-backend v0.20.3
[INFO] [stderr]    Compiling ptr_meta_derive v0.3.1
[INFO] [stderr]    Compiling bytecheck_derive v0.8.2
[INFO] [stderr]    Compiling munge_macro v0.4.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling rkyv_derive v0.8.14
[INFO] [stderr]     Checking ptr_meta v0.3.1
[INFO] [stderr]     Checking rancor v0.1.1
[INFO] [stderr]     Checking munge v0.4.7
[INFO] [stderr]     Checking bytecheck v0.8.2
[INFO] [stderr]     Checking rend v0.5.3
[INFO] [stderr]    Compiling pyo3-macros v0.20.3
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking rkyv v0.8.14
[INFO] [stderr]     Checking photon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `db` should have an upper camel case name
[INFO] [stdout]  --> src/wrapper.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct db {
[INFO] [stdout]   |            ^^ help: convert the identifier to upper camel case: `Db`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rkyv::*`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rkyv::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `db` should have an upper camel case name
[INFO] [stdout]  --> src/wrapper.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct db {
[INFO] [stdout]   |            ^^ help: convert the identifier to upper camel case: `Db`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rkyv`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rkyv::*;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Distibution` is never constructed
[INFO] [stdout]    --> src/lib.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | struct Distibution {}
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `add_neighbors`, `shrink_edge`, `insert_node`, and `insert_node_upper_layers` are never used
[INFO] [stdout]    --> src/lib.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl GraphLayers {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn add_neighbors(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn shrink_edge() {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn insert_node(&mut self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn insert_node_upper_layers(&mut self, layer: usize, node_id: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `M` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:219:40
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn insert(&mut self, q: usize, M: usize, Mmax: usize, ef_construction: usize, m_l: f32) {
[INFO] [stdout]     |                                        ^ help: convert the identifier to snake case: `m`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Mmax` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:219:50
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn insert(&mut self, q: usize, M: usize, Mmax: usize, ef_construction: usize, m_l: f32) {
[INFO] [stdout]     |                                                  ^^^^ help: convert the identifier to snake case: `mmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `eConn` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:282:21
[INFO] [stdout]     |
[INFO] [stdout] 282 |                 let eConn = self.layers.get_neighbors(lc, *e);
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `e_conn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/lib.rs:423:1
[INFO] [stdout]     |
[INFO] [stdout] 423 | #[pymethods]
[INFO] [stdout]     | -^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `PyClassImplCollector` is not local
[INFO] [stdout]     | `PyClassNewTextSignature` is not local
[INFO] [stdout]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 424 | impl PyHNSW {
[INFO] [stdout]     |      ------
[INFO] [stdout]     |      |
[INFO] [stdout]     |      `PyHNSW` is not local
[INFO] [stdout]     |      `PyHNSW` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Distibution` is never constructed
[INFO] [stdout]    --> src/lib.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | struct Distibution {}
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `add_neighbors`, `shrink_edge`, `insert_node`, and `insert_node_upper_layers` are never used
[INFO] [stdout]    --> src/lib.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 105 | impl GraphLayers {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn add_neighbors(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn shrink_edge() {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn insert_node(&mut self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn insert_node_upper_layers(&mut self, layer: usize, node_id: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `M` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:219:40
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn insert(&mut self, q: usize, M: usize, Mmax: usize, ef_construction: usize, m_l: f32) {
[INFO] [stdout]     |                                        ^ help: convert the identifier to snake case: `m`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Mmax` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:219:50
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn insert(&mut self, q: usize, M: usize, Mmax: usize, ef_construction: usize, m_l: f32) {
[INFO] [stdout]     |                                                  ^^^^ help: convert the identifier to snake case: `mmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `eConn` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:282:21
[INFO] [stdout]     |
[INFO] [stdout] 282 |                 let eConn = self.layers.get_neighbors(lc, *e);
[INFO] [stdout]     |                     ^^^^^ help: convert the identifier to snake case: `e_conn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/lib.rs:423:1
[INFO] [stdout]     |
[INFO] [stdout] 423 | #[pymethods]
[INFO] [stdout]     | -^^^^^^^^^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `PyClassImplCollector` is not local
[INFO] [stdout]     | `PyClassNewTextSignature` is not local
[INFO] [stdout]     | move the `impl` block outside of this function `trampoline` and up 4 bodies
[INFO] [stdout] 424 | impl PyHNSW {
[INFO] [stdout]     |      ------
[INFO] [stdout]     |      |
[INFO] [stdout]     |      `PyHNSW` is not local
[INFO] [stdout]     |      `PyHNSW` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hnsw`
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let hnsw = HNSW::new(10, 3);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_hnsw`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EPSILON` is never used
[INFO] [stdout]  --> src/main.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const EPSILON: f32 = 1e-5;
[INFO] [stdout]   |       ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hnsw`
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let hnsw = HNSW::new(10, 3);
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_hnsw`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.62s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bytecheck v0.8.2, rkyv v0.8.14
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 8`
[INFO] running `Command { std: "docker" "inspect" "f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd", kill_on_drop: false }`
[INFO] [stdout] f5e5224556a2c4d41b53a775a1f71c895fe216e2a87d4c94d0efca75a8bb43fd
